const { createProxyMiddleware } = require('http-proxy-middleware');

module.exports = function (app) {
    app.use(
        // createProxyMiddleware(
        //     '/statement/api/',
        //     {
        //         target: "https://statement.handsomewthewt.store",
        //         changeOrigin: true,
        //         ws: true, // proxy websockets
        //         pathRewrite: {
        //             '/statement/api/': '/'
        //         },
        //         source:'https'
        //     }
        // )


        createProxyMiddleware('https://statement.handsomewthewt.store/statement/api/')
    );




};